<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/static/bootstrap-3.4.1-dist/css/bootstrap.css}">
    <style>
        .center{
            padding-left: 5px;
            padding-right: 5px;
        }
    </style>
</head>
<body class="center">
    <form action="/user/add" method="post">
        <div class="form-group">
            <label>用户名:</label>
            <input type="text" class="form-control" name="username">
        </div>
        <div class="form-group">
            <label>密码:</label>
            <input type="text" class="form-control" name="password">
        </div>
        <div class="form-group">
            <label>邮箱:</label>
            <input type="text" class="form-control" name="email">
        </div>
        <div class="form-group">
            <label>角色:</label>
            <input type="radio" name="role" value="1">超级管理员
            <input type="radio" name="role" value="2">普通管理员
        </div>
        <input type="submit" value="添加"/>
    </form>
</body>
</html>